package com.system.honour.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
 * sys_permission
 * @author 
 */
@Data
public class SysPermission implements Serializable {
    @ApiModelProperty(value = "权限id")
    private Integer id;

    @ApiModelProperty(value = "上一级权限id")
    private Integer parentId;

    @ApiModelProperty(value = "权限名称")
    private String name;

    @ApiModelProperty(value = "css")
    private String css;

    @ApiModelProperty(value = "href")
    private String href;

    @ApiModelProperty(value = "类型 1菜单；2按钮")
    private Integer type;

    @ApiModelProperty(value = "权限")
    private String permission;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    private static final long serialVersionUID = 1L;


}